package com.surveillance.BO;

import java.util.List;

public interface GenericBo<T> {
	 boolean save(T myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
     void update(T myEntity);
     void delete(T myEntity);
     T findByID(Long myEntityID);
     List<T> findAll();
}
